package team.southcat.wsyygh.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import team.southcat.wsyygh.model.pojo.user.LoginVo;
import team.southcat.wsyygh.model.pojo.user.User;
import team.southcat.wsyygh.model.pojo.user.UserVo;

import java.util.Map;

public interface UserService extends IService<User> {

    Page getUserPageList(int page, int limit, User user);

    //获取用户信息，包括就诊人信息
    UserVo getDetail(long id);

    Map<String, Object> loginUser(LoginVo loginVo);

    User selectWxInfoOpenId(String openid);

    void userAuth(User user);

    UserVo selectById(String userId);
}
